package com.wootion.dizhi.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
@Data
@ApiModel("设备信息")
public class DeviceDto implements Serializable {

    @ApiModelProperty(value = "设备号")
    private String deviceNo;

    @ApiModelProperty(value = "设备地址")
    private String address;

    //设备名称=deviceNo+address
    @ApiModelProperty(value = "设备名称")
    private String deviceName;

    @ApiModelProperty(value = "是否运行 false:离线  true:在线")
    private Boolean isRun;

    @ApiModelProperty(value = "状态 0记录中.1记录结束,3未开始记录")
    private String status;

}
